package com.tolerate.managespringboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tolerate.managespringboot.common.Result;
import com.tolerate.managespringboot.entity.User;

import java.util.List;

/**
 * @author Tolerate
 * @description 针对表【sys_user】的数据库操作Service
 * @createDate 2024-07-02 22:17:37
 */
public interface UserService extends IService<User> {

    List<User> selectAll();

    Integer saveOrUpdateById(User user);

    List<User> pageByxml(Integer pageNum, Integer pageSize);


    Boolean saveUser(User user);

    Result login(User user);
}
